package team.szm.scd.database.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "`case`", autoResultMap = true)
public class Case {
    @TableId(value = "cid", type = IdType.ASSIGN_ID)
    String id;
    @TableField("uid")
    String userId;
    @TableField("did")
    String doctorId;
    String patientStatement;
    String doctorOrder;
    LocalDateTime lastModifyTime;
    @TableField("rid")
    String registerId;
}
